<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>index</title>
	<hdjs/>
</head>
<body>
	<div class="wrap">
		<div class="menu_list">
			<ul>
				<li> <a href="{|U:'index'}" class="action">栏目列表</a></li>
				<li> <a href="{|U:'add'}">栏目添加</a></li>
			</ul>
		</div>
		<table class="table2 hd-form">
			<thead>
				<tr>
					<td class="w30">CID</td>
					<td>栏目名称</td>
					<td>PID</td>
					<td>关键字</td>
					<td class="w200">操作</td>
				</tr>
			</thead>
			<tbody>
				<list from='$category' name='$c'>
					<tr>
						<td>{$c.cid}</td>
						<td>{$c._name}</td>
						<td>{$c.pid}</td>
						<td>{$c.keywords}</td>
						<td>
							<a href="{|U:'add',array('pid'=>$c['cid'])}">添加子栏目</a>
							<a href="{|U:'edit',array('cid'=>$c['cid'])}">编辑</a>
							<a href="{|U:'delete',array('cid'=>$c['cid'])}">删除</a>
							<a href="">查看</a>
						</td>
					</tr>
				</list>
			</tbody>			
		</table>
	</div>
</body>
</html>